// Copyright (C) Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Limited Public License (Ms-LPL).

using System;
using System.Configuration;
using Microsoft.VisualStudio.Diagnostics.Logging;
using Microsoft.VisualStudio.IntelliTrace;

[assembly:System.Reflection.AssemblyFileVersion("1.0.0.0")]
[assembly:System.Reflection.AssemblyVersion("1.0.0.0")]

namespace Microsoft.VisualStudio.Samples
{
	class Program
	{
		private static int Main(string[] args)
		{
            Writer writer = null;
            using (IntelliTraceReader reader = new IntelliTraceReader("c:\file.iTraceLog"))
            {
                reader.AddThreadEventHandler(new ThreadChainConsoleWriter(writer));
                reader.Execute();
            }
            return 0;
		}
	}
}
